<template>
  <view class=""> </view>
</template>

<script>
export default {
  onLoad(params) {
    function objUrlData(obj) {
      let result = '';
      for (let f in obj) {
        result += `&${f}=${obj[f]}`;
      }
      return '?' + result.substring(1, result.length);
    }
    let url = '/shop/md/md-list' + objUrlData(params);
    this.$utils.toUrl(url, 'redirectTo');
  },
};
</script>